package com.star.batchhandler.demo;

import java.util.ArrayList;
import java.util.List;

public class BatchResult {
  private final String sql;
  private final List<Object> parameterObjects;

  private int[] updateCounts;

  public BatchResult(String sql) {
    this.sql = sql;
    this.parameterObjects = new ArrayList<Object>();
  }

  public String getSql() {
    return sql;
  }
  public List<Object> getParameterObjects() {
    return parameterObjects;
  }
  public void addParameterObject(Object parameterObject) {
    this.parameterObjects.add(parameterObject);
  }

public int[] getUpdateCounts() {
	return updateCounts;
}

public void setUpdateCounts(int[] updateCounts) {
	this.updateCounts = updateCounts;
}
}
